//
//  WSDataReportFilterItem.h
//  microvision
//
//  Created by zhenjingxiong on 2021/3/6.
//  Copyright © 2021 tencent. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

extern CGFloat const kReportDatafilterFontOfSize;

NS_ASSUME_NONNULL_BEGIN

@interface WSDataReportFilterItem : NSObject

// 数据上报过滤的key
@property (nonatomic, copy) NSString *reportDataFilterKey;

// 数据上报过滤的value数组,可以是多个值
@property (nonatomic, copy) NSArray<NSString *> *reportDatafilterValues;

// 输入数据上报过滤值的时候，提示的常用值配置列表如 [@"user_action", @"user_exposure"]
@property (nonatomic, copy) NSArray<NSString *> *reportDatafilterDefaultList;

// 查找每个reportDatafilterDefaultList 字符串的需要的最大宽度
@property (nonatomic, assign, readonly) CGFloat reportDatafilterMaxWidth;

- (instancetype)init NS_UNAVAILABLE;

- (instancetype)initWithFilterKey:(NSString *)filterKey
            withFilterDefaultList:(NSArray<NSString *> *)filterDefaultList NS_DESIGNATED_INITIALIZER;

@end

NS_ASSUME_NONNULL_END
